package com.shop.cloud.model.request;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class CheckGoodsRequest {
	
	@JsonProperty("ids")
	@ApiModelProperty(value = "商品ids", example = "", required = true)
	private List<Long> ids;

	@JsonProperty("type")
	@ApiModelProperty(value = "1通过，2未通过", example = "", required = true)
	private int type;
	
	@JsonProperty("reason")
	@ApiModelProperty(value = "审核不通过原因", example = "", required = false)
	private String reason;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public List<Long> getIds() {
		return ids;
	}

	public void setIds(List<Long> ids) {
		this.ids = ids;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}
	
	
}
